<?php

function view_contact($phone, $email, $address) {
	?>

<div style="float: left;">
    <div style="float: left;">
        <img src="<?php echo image_url ?>contact-phone.png" style="border-radius: 20px;">
    </div>
    <div style="background: transparent url('<?php echo image_url ?>/dot.png') repeat-x left bottom;float: left;height: 30px;margin: 10px 0 0 20px; padding-bottom : 10px; width: 175px">
        <?php echo htmlentities($phone); ?>
    </div>
    <div class="clear" style="height: 20px"></div>
    <div style="float: left;">
        <img src="<?php echo image_url ?>contact-email.png" style="border-radius: 20px;">
    </div>
    <div style="background: transparent url('<?php echo image_url ?>/dot.png') repeat-x left bottom;float: left;height: 30px;margin: 10px 0 0 20px; padding-bottom : 10px; width: 175px">
        <?php echo htmlentities($email); ?>
    </div>
    <div class="clear" style="height: 20px"></div>
    <div style="float: left;">
        <img src="<?php echo image_url ?>contact-address.png" style="border-radius: 20px;">
    </div>
    <div style="background: transparent url('<?php echo image_url ?>/dot.png') repeat-x left bottom;float: left;height: 30px;margin: 10px 0 0 20px; padding-bottom : 10px; width: 175px">
        <?php echo $address; ?>
    </div>
    <div class="clear"></div>
</div>

    <?php
}
